home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ MSO2K Excel 1.xpl
< prev
next >
Wrap
Text File
|
2000-08-07
|
1KB
|
51 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="2"
"COUNT"="1"
"UIPATH"="Program Options\Microsoft Office\MS Office 2000\Excel 2000"
"NAME"="Excel Undo"
"VERSION"="1.04"
"LANGUAGE"="VBScript"
"TEXT 1"="Undo Steps:"
"DESCRIPTION 1"="You can configure here how many steps can be undone in Excel."
"DESCRIPTION 2"="To restore the original value, clear the field."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sV1="HKCU\Software\Microsoft\Office\9.0\Excel\Options\UndoHistory" 'DW
sPCheck="HKCU\Software\Microsoft\Office\9.0\"
Sub Plugin_Initialize
if RegPathExists(sPCheck) then
s=RegReadValue(sV1)
Call SetUIElement(1,s)
else
Call Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if len(s)>0 then
Call RegWriteValue(sV1,s,2)
else
s=RegReadValue(sV1)
if IsEmpty(s)=false then
Call RegDeleteValue(sV1)
end if
end if
Call Logoff
End Sub
Sub Plugin_Terminate
End Sub